﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Resto.CostControl.Core
{
    /// <summary>
    /// 临时补充订单
    /// </summary>
    public class TempDishOrder
    {
        public string Id { get; set; }

        [Display(Name = "订单编号")]
        public string Code { get; set; }

        /// <summary>
        /// 名称规则为：月份＋周＋项目点
        /// </summary>
        [Display(Name = "订单名称")]
        public string Name { get; set; }

        [Display(Name = "项目点")]
        public string SiteId { get; set; }

        [Display(Name = "项目点")]
        public string SiteName { get; set; }

        [Display(Name = "上报人员")]
        public string ReportUserName { get; set; }

        [Display(Name = "上报时间")]
        public DateTime ReportDate { get; set; }

        [Display(Name = "成本总价")]
        public decimal TotalCost { get; set; }

        [Display(Name = "售价总价")]
        public decimal TotalPrice { get; set; }

        public IList<DishOrderItem> Details { get; set; }
    }
}
